package com.neusoft.pojo;

import java.io.Serializable;
import java.util.List;

/*最开始学习的返回值，目前已经不实用，如果需要返回结果，使用common中的Result*/
public class Result implements Serializable {
    public String status;
    public long code;
    public String message;
    public List<Object> data;

    @Override
    public String toString() {
        return "Result{" +
                "status='" + status + '\'' +
                ", code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public long getCode() {
        return code;
    }

    public void setCode(long code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<Object> getData() {
        return data;
    }

    public void setData(List<Object> data) {
        this.data = data;
    }

    public Result(String status, long code, String message, List<Object> data) {
        this.status = status;
        this.code = code;
        this.message = message;
        this.data = data;
    }
}
